<?php include('scripts.php'); ?>

<table border='1' width='100%'>
	<tr valign="middle" style="background-color:#f1f1f1;height:32px;">
		<td align='center'><?php echo __('Title') ?></td><td align='center'><?php echo __('Date') ?></td>
	</tr>
	<?php
		foreach($TblAnnoucement as $annoucement){
			echo "<tr style=\"background:#ccc;\" onmouseover=\"currentcolor=this.style.backgroundColor;this.style.backgroundColor='#f1f1f1';\" onmouseout=\"this.style.backgroundColor=currentcolor\" style=\"height:25px;\"><td align='center'>".link_to($sf_user->getCulture()=="en"?$annoucement->getFTitle():$annoucement->getFTitleCn(), '/member/viewAnnoucement?id='.$annoucement->getFId())."</td><td align='center'>".$annoucement->getFCreatedDatetime()."</td></tr>";
		}	
	?>
</table>